import $ajax from './config'
/* 登陆 */
export const login = data => $ajax.post('/jyop/phoneLogin', data)
/*判断是否登录*/
export const hasLogin = data => $ajax.post('/jyop/hasLogin', data)
/*修改密码*/
export const rePass = data => $ajax.post('/jyop/console/updatepwd', data)
/*注册*/
export const regstier = data => $ajax.post('/jyop/verfify/randset', data)
/*发动短信验证码 && 注册提交*/
export const regstierYz = data => $ajax.post('/jyop/register', data)
/*找回密码*/
export const zhaohuimima = data => $ajax.post('jyop/forgetPwd', data)
/*开发者申请*/
export const kaifazhe = data => $ajax.post('jyop/console/developer/info', data)
/*提交验证码*/
export const apply = data => $ajax.post('jyop/console/developer/apply', data)
/* 获取公众号二维码 */
export const getQr = data => $ajax.post('/jyop/getQrCode', data)
/* 退出登陆 */
export const outUser = data => $ajax.post('/jyop/signOut', data)
/* pro */
export const getPro = data => $ajax.post('/jyop/console/pro', data)

